<style type="text/css">
<!--
.list3_pagedown{ width:100%;border:1px solid #eee; text-align:right; height:26px; line-height:26px; background:#f7f7f7; ;margin:10px auto 10px auto;}
-->
</style>
<script type="text/javascript">
			var callback_frm_list3 = function(rows, frm) {
		       $.each(rows, function(i, n){
		    	   var row = $("#"+frm+" .template").clone().removeClass("template");
		   			       var keyValue = n.id;
			   	   
			       row.find(".klart_name").html("<a href='${contextPath}/cms/channel/layout/a,"+n.id+"?isLayout=${isLayout}' target='_blank'>"+n.art_name.substr(0,30)+"</a>");
			   	
			       row.find(".klcreate_time").text((new Date(n.create_time)).format("yyyy-MM-dd"));
			   	
		 		   row.attr("id","ready"+i);
		           row.attr("class","tr_nbw");
		           row.appendTo("#"+frm+" .grid");
		       });   
			}
			
			function setvalue_${portletid}(grpId,grpName){
				document.getElementById("frm_list3").action="${contextPath}/cms/article/list?grpid="+grpId;
				document.getElementById("list3title_${portletid}").innerHTML=grpName;
		        loadGird("frm_list3", 1);
			}
</script>
<div class="list3_main">
		<#if titletype=="1">
		<div>
			<img src="${titlepic}" style="border:none"/>
		</div>
	<#else>
		<div class="${titlecolor}">
			<span id="list3title_${portletid}">
			${title}
			</span>
		</div>
	 </#if>
        	<div style="margin:0px 10px 0px 10px;">

<form name="frm_list3" method="post" style="margin: 0" action="${contextPath}/cms/article/list?grpid=${artgroupId}" id="frm_list3">
		<center>
		<table><tr><td height="2px"></td></tr></table>
		<table border="0" cellspacing="0" cellpadding="0" style=" width:100%;" class="table_nbw  niceTable grid">
			<tbody>
				<tr class="template klId">
		   		    <td class="klart_name niceTable-left" style="text-align:left;"></td>
		   		    <td class="klcreate_time niceTable-left" style="text-align:right;"></td>
				</tr>
			</tbody>
		</table>
		<div class="list3_pagedown">
				<img class="loading"
					src="/resources/skins/default/images/large-loading.gif" width="20px"
					class="hidden loading left" /><span class="pagediv"></span>
			</div>	
		</center>
	</form>
	
	</div>
</div>
<script type="text/javascript">
 	$(function(){
		        loadGird("frm_list3", 1);
			})
</script>